package com.guli.eduservice.service;

import com.guli.eduservice.bean.chapter.ChapterVo;
import com.guli.eduservice.bean.EduChapter;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author testjava
 * @since 2022-04-04
 */
public interface EduChapterService extends IService<EduChapter> {
    List<ChapterVo> nestedList(String courseId);

    boolean deleteChapter(String id);

    //删除章节通过课程id
    boolean deleteChapterByCourseId(String courseId);
}
